home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / IRC Chat / polaris2001v304.EXE / Addons / killspam.ini < prev    next >
Encoding:
INI File  |  2001-04-07  |  2.4 KB  |  71 lines

  1. [Addon]
  2. Script=Spam Kill Addon
  3. Version=1.0
  4. Author=onlinr
  5. Desc=An addon to prevent advertisments from filling your sidebar constantly. It will automatically ignore any ad msg with the string of *www* , *XXX* , *#* & *join* 
  6. Date=April 6th, 2001
  7.  
  8. [script]
  9. n0=ON 1:LOAD:{
  10. n1=  aecho Spam Kill Addon Loaded Successfully. 
  11. n2=  set %clswndw on
  12. n3=  set %mkillswt on
  13. n4=  set %mkillrply Advertisment Blocked.
  14. n5=  set %igrswt on
  15. n6=  set %clrcnt off
  16. n7=}
  17. n8=
  18. n9=on ^1:TEXT:*:?: {
  19. n10=  if ((*www* iswm $1-) || (*http* iswm $1-) || (*join* iswm $1-) || (*#* iswm $1-) || (*XXX* iswm $1-)) { 
  20. n11=    if (%clswndw == on) { close -m $nick } 
  21. n12=    if (%mkillswt == on) && (%mkillrply != " ") { notice $nick $bracket( %mkillrply ) $sv(Time,$atime) $~($logo) } 
  22. n13=    if (%igrswt == on) { /ignore $address($nick,2) | aecho The Nick $bracket($nick) is now ignored  }
  23. n14=    halt
  24. n15=  }
  25. n16=}
  26. n17=
  27. n18=
  28. n19=on ^1:INVITE:#:{
  29. n20=  if (%mkillswt == on) && (%mkillrply != " ") { notice $nick $bracket( %mkillrply ) $sv(Time,$atime) $~($logo) }
  30. n21=  if (%igrswt == on) { /ignore $address($nick,2) | aecho The Nick $bracket($nick) is now ignored }
  31. n22=  halt
  32. n23=} 
  33. n24=
  34. n25=on 1:CONNECT:{ 
  35. n26=  if (%clrcnt == on) { ignore -r } 
  36. n27=}
  37. n28=
  38. n29=menu menubar {
  39. n30=  SpamKill
  40. n31=  .Activate/Deactivate
  41. n32=  ..on:set %clswndw on | set %mkillswt on | set %igrswt on | set %clrcnt on
  42. n33=  ..off:set %clswndw off | set %mkillswt off | set %igrswt off | set %clrcnt off
  43. n34=  .Close Spam Window?
  44. n35=  ..on:set %clswndw on
  45. n36=  ..off:set %clswndw off
  46. n37=  .Kill Reply
  47. n38=  ..Kill Reply
  48. n39=  ...on:set %mkillswt on 
  49. n40=  ...off:set %mkillswt off
  50. n41=  ..Set Reply:set %mkillrply $$?="msg you want to say to spammers:" | set %mkillswt on
  51. n42=  .Ignore Spammers? 
  52. n43=  ..on:set %igrswt on
  53. n44=  ..off:set %igrswt off
  54. n45=  .Clear Ignore List?
  55. n46=  ..Clear Now:ignore -r | aecho Ignore list is now cleared
  56. n47=  ..Clear On Connect
  57. n48=  ...on:set %clrcnt on
  58. n49=  ...off:set %clrcnt off
  59. n50=  .Current Settings:killsettings
  60. n51=} 
  61. n52=
  62. n53=alias killsettings {
  63. n54=  aecho Close spam window: %clswndw 
  64. n55=  aecho Respond to spammers: %mkillswt 
  65. n56=  aecho Message to spammers: " $+ %mkillrply $+ " 
  66. n57=  aecho Ignore spammers: %igrswt 
  67. n58=  aecho Clear ignore list on connect: %clrcnt
  68. n59=  aecho Go to Menu/Commands/SpamKill
  69. n60=  aecho to modify these settings 
  70. n61=}
  71.